﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Draco.OWF.Designer.Project;
using ICSharpCode.SharpDevelop.Internal.Templates;
using ICSharpCode.SharpDevelop.Project;

namespace Draco.OWF.Designer.Bindings
{
    public class ProjectBinding : IProjectBinding
    {
        public const string LanguageName = "OWF";

        public IProject CreateProject(ProjectCreateInformation info)
        {
            return new OWFProject(info);
        }

        public bool HandlingMissingProject
        {
            get
            {
                return false;
            }
        }

        public string Language
        {
            get { return LanguageName; }
        }

        public IProject LoadProject(ProjectLoadInformation info)
        {
            return new OWFProject(info);
        }
    }
}
